# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=powersupply
pkgver=0.8.0
pkgrel=0
pkgdesc="GTK3 app to display power status of phones"
url="https://gitlab.com/MartijnBraam/powersupply"
arch="noarch"
license="MIT"
source="https://gitlab.com/MartijnBraam/powersupply/-/archive/$pkgver/powersupply-$pkgver.tar.gz"
depends="
	gtk+3.0
	libhandy1
	py3-gobject3
	python3
	"
makedepends="
	libhandy1-dev
	meson
	"
options="!check" # There's no testsuite

build() {
	abuild-meson . output
	meson compile -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
1c0e16b8b7bca93e34bfcf604c897bdf7a3bba0a85dab4c875e80d710827b8b8e13b2bc1d210d7f2e81c66005bfd8dd8d9a0fe7aab60215085ef254abc7d827d  powersupply-0.8.0.tar.gz
"
